/* 登录页面样式 */
.top-nav {
    text-align: center;
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.top-nav h1 {
    font-size: 18px;
    font-weight: 500;
}

.login-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}

.login-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 500;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.input-icon {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 24px;
    padding: 12px 15px;
    transition: all 0.3s;
}

.input-icon:focus-within {
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.input-icon i {
    color: #999;
    margin-right: 10px;
    font-size: 18px;
}

.input-icon input {
    flex: 1;
    border: none;
    background: none;
    padding: 0;
    font-size: 14px;
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 5px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #FFB74D, #FF9800);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #FFA726, #FB8C00);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.register-link {
    text-align: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.register-link a {
    color: #FF9800;
    text-decoration: none;
    font-weight: 500;
}

.other-login {
    width: 100%;
    margin-top: 10px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eee;
}

.divider span {
    background-color: #fff;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 13px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #eee;
}

.social-icon i {
    font-size: 22px;
    color: #555;
}

.social-icon:first-child i {
    color: #07C160;
}

.footer {
    text-align: center;
    padding: 15px;
    color: #999;
    font-size: 12px;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

/* Toast提示样式 */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    text-align: center;
    max-width: 80%;
}

.toast.show {
    opacity: 1;
    visibility: visible;
} 